<template>
  <div class="view">
    <section class="search-content">
      <el-row :gutter="4" type="flex" justify="start">
        <el-col :span="24">
          <el-radio-group v-model="analysis.type" size="small">
            <el-radio-button label="全部"/>
            <el-radio-button label="录播公开课"/>
            <el-radio-button label="直播公开课"/>
          </el-radio-group>
        </el-col>
      </el-row>
    </section>
    <el-row type="flex" justify="center" style="width:100%;margin-top:30px;">
      <el-col :span="4">
        <div class="list">
          <p style="font-size:52px;margin:0;">5</p>
          <span>公开课总数</span>
        </div>
      </el-col>
      <el-col :span="4">
        <div class="list">
          <p style="font-size:52px;margin:0;">5</p>
          <span>总访问量</span>
        </div>
      </el-col>
      <el-col :span="4">
        <div class="list">
          <p style="font-size:52px;margin:0;">5</p>
          <span>日均观看次数</span>
        </div>
      </el-col>
    </el-row>
    <view-line id="view-line" :style="lineStyle" class-name="line"/>
  </div>
</template>

<script>
import viewLine from './viewLine'
export default {
  components: {
    viewLine
  },
  data() {
    return {
      lineStyle: {
        width: '100%',
        height: '500px'
      },
      analysis: {
        type: '全部'
      }
    }
  },
  mounted() {
    // this.getData();
  },
  methods: {
    handleClickCancel(scope) { }
  }
}
</script>

<style lang="scss" scoped>
.view {
  margin-top: 0px;
  width: 100%;
  // padding: 14px 20px 21px 20px;
  .search-content {
    width: 100%;
  }
  .list{
    height:110px;
  }
}
</style>
